package com.springboot.study.tests.hook;

/**
 * @Description: TODO
 * @Author dongguo
 * @Date 2020/5/28 17:16
 * @Version V1.0
 **/
public abstract class Parent {

    public abstract boolean isTrue();

    public void print(){
        if(isTrue()){
            System.out.println("我爱你中国");
        }else {
            System.out.println("我爱你世界");
        }
    }

}
